﻿using System.Configuration;
using FlexiCommerce.Engine;
using FlexiCommerce.Persistence.NH;
using FlexiCommerce.Tests.Engine.Plugins;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;

namespace FlexiCommerce.Tests.Engine
{
    [TestFixture]
    public class DefaultEngineTests
    {

        [Test]
        public void CanAssignDefaultNHibernateProperties()
        {
            ConfigurationBuilder cb = Context.Current.Resolve<IConfigurationBuilder>() as ConfigurationBuilder;
            Assert.That(cb.Properties.Count, Is.GreaterThan(0));
        }

    }
}
